package com.sena.crawler.domian;

import java.util.List;

/**
 * @author Admin
 */
public class RootLink {

    /**
     * url 连接
     */
    private String link;
    /**
     * 完成状态
     */
    private boolean finish;
    /**
     * 黑名单
     */
    private List<String> blackUrl;
    /**
     * 白名单
     */
    private List<String> whiteUrl;

    private String type;

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public boolean isFinish() {
        return finish;
    }

    public void setFinish(boolean finish) {
        this.finish = finish;
    }

    public List<String> getBlackUrl() {
        return blackUrl;
    }

    public void setBlackUrl(List<String> blackUrl) {
        this.blackUrl = blackUrl;
    }

    public List<String> getWhiteUrl() {
        return whiteUrl;
    }

    public void setWhiteUrl(List<String> whiteUrl) {
        this.whiteUrl = whiteUrl;
    }

    public RootLink(String link, boolean finish, List<String> blackUrl, List<String> whiteUrl) {
        this.link = link;
        this.finish = finish;
        this.blackUrl = blackUrl;
        this.whiteUrl = whiteUrl;
    }

    public RootLink(String link, boolean finish, List<String> blackUrl, List<String> whiteUrl, String type) {
        this.link = link;
        this.finish = finish;
        this.blackUrl = blackUrl;
        this.whiteUrl = whiteUrl;
        this.type = type;
    }

    public RootLink() {
    }
}
